curl --request POST \
--url http:///%7B{baseurl}%7D/api/v1/client/{environmentId}/displays \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "{{surveyId}}",
"userId": "{{userId}} (optional)"
}'
{
"data": {
"id": "clvc1z8200006494jgnds7ort"
}
}
Create a new display for a valid survey ID. If a userId is passed, the display is linked to the user.
curl --request POST \
--url http:///%7B{baseurl}%7D/api/v1/client/{environmentId}/displays \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "{{surveyId}}",
"userId": "{{userId}} (optional)"
}'
{
"data": {
"id": "clvc1z8200006494jgnds7ort"
}
}
OK
The response is of type object
.
Was this page helpful?